package epinions;

import histogram.RatingHistogramBig;

import java.io.IOException;

import file.ParserBig;

public class MovieLensRH {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		ParserBig dataset = new ParserBig("D:\\epinions\\epinions\\ratings.dat");
		RatingHistogramBig rh = new RatingHistogramBig(dataset.getList());
		System.out.println("Number of rating-1: "+rh.getNumRating()[0]);
		System.out.println("Number of rating-2: "+rh.getNumRating()[1]);
		System.out.println("Number of rating-3: "+rh.getNumRating()[2]);
		System.out.println("Number of rating-4: "+rh.getNumRating()[3]);
		System.out.println("Number of rating-5: "+rh.getNumRating()[4]);
	}

}
